# Straight forward Makefile to compile all examples in a row

INCDIR=-I./includes

SRC_impl=src/BoolManager.cpp src/CorkWrapper.cpp src/IndexProcessor.cpp src/PMesh.cpp src/PMeshManager.cpp

SRC=${SRC_impl}

default: all

all:CorkWrapper.o

clean:
	find . -name "*.o" -or -name "*.wasm" -or -name "*.js" | xargs rm -f

CorkWrapper.o: ${SRC}
	$(CC) ${SRC} -r -o $@ ${INCDIR}